<template>
  <b-card :header="defDate.title" header-tag="header">
    <b-card-text>
      <div v-html="defDate.const"></div>
    </b-card-text>
  </b-card>
</template>
<script>
import { domeDate } from "@/api/dateJson.js";
export default {
  data() {
    return {
      defDate: {}
    };
  },
  mounted() {
    this.anLoad();
  },
  methods: {
    anLoad() {
      domeDate.forEach(element => {
        if (element.id == 2) {
          this.defDate = element;
        }
      });
    }
  }
};
</script>